/* 分页样式 */
.pagination-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--spacing-md);
  padding-top: var(--spacing-sm);
  border-top: 1px solid var(--border-color);
  position: relative;
  z-index: 1;
}

.pagination-info {
  font-size: var(--font-sm);
  color: var(--text-secondary);
}

.page-size-select {
  padding: 6px var(--spacing-sm);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: var(--font-sm);
  color: var(--text-primary);
  background: var(--card-bg);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.page-size-select:hover {
  border-color: var(--primary-light);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.page-size-select:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.page-numbers {
  display: flex;
  gap: var(--spacing-xs);
}

.pagination-btn, .page-number {
  min-width: 36px;
  height: 36px;
  padding: 0 var(--spacing-md);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--card-bg);
  color: var(--text-primary);
  font-size: var(--font-sm);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.pagination-btn::before, .page-number::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.pagination-btn:hover::before, .page-number:hover::before {
  opacity: 1;
}

.pagination-btn:hover:not(:disabled), .page-number:hover:not(:disabled) {
  background: white;
  border-color: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pagination-btn.active, .page-number.active {
  background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
  color: white;
  border-color: var(--primary-dark);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.3);
}

.pagination-btn:disabled, .page-number:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.page-number.ellipsis {
  background: transparent;
  border: none;
  cursor: default;
  box-shadow: none;
}

.page-number.ellipsis:hover {
  background: transparent;
  transform: none;
}